package eu.runelord.programmers.io.dp.singleton;

public class DoubleCheckSingleton {

	private static DoubleCheckSingleton INSTANCE;

	private DoubleCheckSingleton() {
	}

	public static DoubleCheckSingleton getInstance() {
		if (INSTANCE == null)
			synchronized (DoubleCheckSingleton.class) {
				if (INSTANCE == null)
					INSTANCE = new DoubleCheckSingleton();
			}
		return INSTANCE;
	}
}
